From: Miguel Angel Mulero Martinez Date: Sat, 30 Apr 2022 07:57:02 +0000 (+0200) Subject: luci-material-theme: align td text width 33% X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=f3be9ff668dfad35cc2e42e5d7f86e56415e6148;p=project%2Fluci.git luci-material-theme: align td text width 33% The CSS applies a different padding for td elements with 33% width. This misaligns the text from this td to the others td. This change modifies the CSS to apply the same padding to all of the sibling td. Signed-off-by: Miguel Angel Mulero Martinez (cherry picked from commit 3333fd6695cbd2e7a6055f01542242a3b7c111ec) --- diff --git a/themes/luci-theme-material/htdocs/luci-static/material/cascade.css b/themes/luci-theme-material/htdocs/luci-static/material/cascade.css index 77e509227c..b6094d7fb9 100644 --- a/themes/luci-theme-material/htdocs/luci-static/material/cascade.css +++ b/themes/luci-theme-material/htdocs/luci-static/material/cascade.css @@ -76,7 +76,8 @@ background: inherit; } -.td[width="33%"] { +.td[width="33%"], +.td[width="33%"]~.td { padding: 1.1em; }